<?

/***************************************************************************
 Jupiter Content System @ Jupiterportal.com
 Copyright (C) 2005 Cosmin Flavius (highstrike@gmail.com)

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License
 as published by the Free Software Foundation; either version 2
 of the License, or (at your option) any later version.

 More Info About The Licence At http://www.gnu.org/copyleft/gpl.html
****************************************************************************/

switch($a)
{
	//-----------------------------------------------------------------
	//  Loged admin actions
	//-----------------------------------------------------------------

	case 1:

		header("location: $PHP_SELF?n=modules/misc&a=2");

	break;

	//-----------------------------------------------------------------
	//  FAQ BBcode
	//-----------------------------------------------------------------

	case 2:

		?>
			<table class="main" cellspacing="1" cellpadding="4">
			<tr class='head'><td colspan='5'><?= $language['FAQ bbcode desc'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ bbcode desc2'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ bbcode desc3'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ bbcode desc4'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ bbcode desc5'] ?><?= $language['FAQ bbcode desc6'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ bbcode desc7'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ bbcode desc8'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ bbcode desc9'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ bbcode desc10'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ bbcode desc11'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ bbcode desc12'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ bbcode desc13'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ bbcode desc14'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ bbcode desc15'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ bbcode desc16'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ bbcode desc17'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ bbcode desc18'] ?><?= $language['FAQ bbcode desc19'] ?><?= $language['FAQ bbcode desc20'] ?></td></tr>
			</table>
		<?

	break;

	//-----------------------------------------------------------------
	//  FAQ Emoticons
	//-----------------------------------------------------------------

	case 3:

		?>
			<table class="main" cellspacing="1" cellpadding="4">
			<tr class='head'><td colspan='5'><?= $language['FAQ emoticons desc'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ emoticons desc2'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ emoticons desc3'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ emoticons desc4'] ?></td></tr>
			<tr class="con1"><td><? foreach($emoticons_db as $idx=>$emoticon){ echo "<img src='images/emoticons/{$emoticon['pic']}' alt='{$emoticon['code']}'> [<b>{$emoticon['code']}</b>] "; } ?><br><br><?= $language['FAQ emoticons desc5'] ?></td></tr>
			</table>
		<?

	break;

	//-----------------------------------------------------------------
	//  FAQ Badwords
	//-----------------------------------------------------------------

	case 4:

		?>
			<table class="main" cellspacing="1" cellpadding="4">
			<tr class='head'><td colspan='5'><?= $language['FAQ badwords desc'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ badwords desc2'] ?></td></tr>
			<tr class="con1"><td style="Text-align: justify"><?= $language['FAQ badwords desc3'] ?></td></tr>
			<tr class="bottom"><td><?= $language['FAQ badwords desc4'] ?></td></tr>
			<tr class="con1"><td><?= $language['FAQ badwords desc5'] ?></td></tr>
			</table>
		<?

	break;

	//-----------------------------------------------------------------
	//  FAQ Search engine
	//-----------------------------------------------------------------

	case 5:

		?>
			<table class='main' cellspacing='1' cellpadding='4'>
			<col width="33%"><col width="67%">
			<tr class='head'><td colspan='2'><?= $language['FAQ search desc'] ?></td></tr>
			<tr class='bottom'><td colspan='2'><?= $language['FAQ search desc2'] ?></td></tr>
			<tr class='con1'><td colspan='2'><?= $language['FAQ search desc3'] ?></td></tr>
			<tr class='bottom'><td colspan='2'><?= $language['FAQ search desc4'] ?></td></tr>
			<tr valign='top' class='con1'><td><?= $language['FAQ search desc5'] ?></td><td><?= $language['FAQ search desc6'] ?></td></tr>
			<tr valign='top' class='con1'><td><?= $language['FAQ search desc7'] ?></td><td><?= $language['FAQ search desc8'] ?></td></tr>
			<tr valign='top' class='con1'><td><?= $language['FAQ search desc9'] ?></td><td><?= $language['FAQ search desc10'] ?></td></tr>
			<tr valign='top' class='con1'><td><?= $language['FAQ search desc11'] ?></td><td><?= $language['FAQ search desc12'] ?></td></tr>
			<tr valign='top' class='con1'><td><?= $language['FAQ search desc13'] ?></td><td><?= $language['FAQ search desc14'] ?></td></tr>
			<tr valign='top' class='con1'><td><?= $language['FAQ search desc15'] ?></td><td><?= $language['FAQ search desc16'] ?></td></tr>
			<tr valign='top' class='con1'><td><?= $language['FAQ search desc17'] ?></td><td><?= $language['FAQ search desc18'] ?></td></tr>
			</table>
		<?

	break;

	//-----------------------------------------------------------------
	//  Default case
	//-----------------------------------------------------------------

	default:

		header("location: $PHP_SELF?n=modules/misc&a=2");

	break;
}

?>